package com.sdstc.modules.eneity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author ：wk
 * @date ：Created in 2022/10/21 13:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("plan")
public class PlanEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String id;

    //方案名称
    private String planName;

    // 方案编号
    private String planCode;

    // 创建依据
    private String createBasis;

    // 生成依据
    private String effectBasis;

    //方案状态 0未生效 1已生效
    private String status;

    //调整内容
    @TableField(exist = false)
    private String tempId;

    // 生效时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectTime;

}
